import { BudgetItem } from "../../interface/budgetData";
import { ActionProps } from "../type";
import { BudgetListActionEnum } from "./budget-list-type";

export const SelectBudgetListDataAction = (payload: BudgetItem[]): ActionProps<BudgetListActionEnum, BudgetItem[]> =>
(
    { type: BudgetListActionEnum.SelectBudgetListData, payload }
);
